using System.ComponentModel.DataAnnotations;

namespace MES_workbench.Domian.Entities
{
    /// <summary>
    /// 销售采购数据统计 Data Statistics
    /// </summary>
    public class DataStatistics
    {
        /// <summary>
        /// 主键ID
        /// </summary>
        [Key]
        public int Id { get; set; }

        /// <summary>
        /// 销售额（人民币）。建议在数据库中使用 decimal(18,2)
        /// </summary>
        public decimal OrderAmount { get; set; }

        /// <summary>
        /// 销售订单数
        /// </summary>
        public int OrderCount { get; set; }

        /// <summary>
        /// 采购额（人民币）。建议在数据库中使用 decimal(18,2)
        /// </summary>
        public decimal ProcurementAmount { get; set; }

        /// <summary>
        /// 采购订单数
        /// </summary>
        public int ProcurementCount { get; set; }

        /// <summary>
        /// 时间
        /// </summary>
        public DateTime? PlannedStartTime { get; set; }

    }
}
